package nju.software.xkxt.biz.vo;

import nju.software.xkxt.service.model.UserModel;

/**
 * @author typ
 * 
 */
public class UserVO {
	private String userId;
	private String name;
	private String schoolNo;
	private String pwd;
	private String sex;
	private String role;
	private String email;
	private String phone;
	private String score;

	public UserVO() {
	}

	public UserVO(UserModel userModel) {
		this.userId = String.valueOf(userModel.getUserId());
		this.name = userModel.getName();
		this.schoolNo = userModel.getSchoolNo();
		this.pwd = userModel.getPwd();
		this.sex = String.valueOf(userModel.getSex());
		this.role = String.valueOf(userModel.getRole());
		this.email = userModel.getEmail();
		this.phone = userModel.getPhone();
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSchoolNo() {
		return schoolNo;
	}

	public void setSchoolNo(String schoolNo) {
		this.schoolNo = schoolNo;
	}

	public String getPwd() {
		return pwd;
	}

	public void setPwd(String pwd) {
		this.pwd = pwd;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getRole() {
		return role;
	}

	public void setRole(String role) {
		this.role = role;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getScore() {
		return score;
	}

	public void setScore(String score) {
		this.score = score;
	}

}
